import java.awt.*;

import javax.swing.*;

public class InnerCenterPanel extends JPanel
{
	// Dimensions:
	private final int WIDTH = 495;	// width of the panel
	private final int HEIGHT = 495;	// height of the panel
	private ImageIcon image;
	
	public InnerCenterPanel()
	{
		setBackground(new Color(200,222,186));
		setPreferredSize(new Dimension(WIDTH, HEIGHT));
		image = new ImageIcon("./logos/board_center_angled.jpg");
	}
		
	public void paintComponent(Graphics g)
	{
		super.paintComponent(g);
		// fills the panel with the custom background color
		g.setColor(new Color(200,222,186));
		
		image.paintIcon(this,g,0,0);			
	}
}